From: Dan Nicholson Date: Mon, 2 Nov 2020 23:42:30 +0000 (-0700) Subject: lib/deltas: Annotate from checksum as nullable X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~6^2~10^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3e527d94473aeae5fbd64158cec47ebb4de41722;p=ostree.git lib/deltas: Annotate from checksum as nullable Without this you can't create a scratch delta from GI. While here, switch the deprecated allow-none annotations to nullable. --- diff --git a/src/libostree/ostree-repo-static-delta-compilation.c b/src/libostree/ostree-repo-static-delta-compilation.c index 753f8aee..893ce2fa 100644 --- a/src/libostree/ostree-repo-static-delta-compilation.c +++ b/src/libostree/ostree-repo-static-delta-compilation.c @@ -1313,10 +1313,10 @@ get_fallback_headers (OstreeRepo *self, * ostree_repo_static_delta_generate: * @self: Repo * @opt: High level optimization choice - * @from: ASCII SHA256 checksum of origin, or %NULL + * @from: (nullable): ASCII SHA256 checksum of origin, or %NULL * @to: ASCII SHA256 checksum of target - * @metadata: (allow-none): Optional metadata - * @params: (allow-none): Parameters, see below + * @metadata: (nullable): Optional metadata + * @params: (nullable): Parameters, see below * @cancellable: Cancellable * @error: Error *